/*
 * Copyright (c) 2018, ZeeSec Technologies. All rights reserved.
 * ZeeSec PROPRIETARY/CONFIDENTIAL.
 */

package springtest.config;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author ZhiQiang Chen
 * @date 2018-11-05 17:33:11
 */

public class X509TrustManagerImpl implements HostnameVerifier {

    private static final Logger log = LoggerFactory.getLogger(X509TrustManagerImpl.class);

    @Override
    public boolean verify(String arg0, SSLSession arg1) {
        log.info(
                "-------------------------HostnameVerifier-----------------------------------------------------------------------------------------------------------");
        return true;
    }

}
